#pragma once
typedef int Element_t;
typedef class _node {
public:
	Element_t val;
	_node* next;
}QueueNode;

typedef class _head {
public:
	QueueNode* front;
	QueueNode* rear;
	int count;
}Queuehead;

Queuehead* creatQueue();
void releaseQueue(Queuehead* head);

void isFull(Queuehead* head);
void isEmpty(Queuehead* head);

void push(Queuehead* head, Element_t val);
void pop(Queuehead* head);